cmake_minimum_required(VERSION 3.25)
project(StudyStruct C)

set(CMAKE_C_STANDARD 23)

add_executable(StudyStruct main.c)






add_executable(1_linerTable-static LineTable/linerTable-static.c)
add_executable(2_linerTable-dynamic LineTable/linerTable-dynamic.c)

add_executable(ThreadedBinaryTree Tree/ThreadedBinaryTree.c)
add_executable(Stack-shunXu StackAndQueue/Stack-shunXu-static.c)
add_executable(Stack-chain StackAndQueue/Stack-chain.c)
add_executable(Stack-dynamic StackAndQueue/Stack-dynamic.c)
add_executable(Queue StackAndQueue/Queue-ShunXu-Static.c)
add_executable(Queue-ShunXu2-Static StackAndQueue/Queue-ShunXu2-Static.c)
add_executable(Queue-Circular StackAndQueue/Queue-Circular.c)
add_executable(Queue-Chain StackAndQueue/Queue-Chain.c)
add_executable(DoubleLinkNode LineTable/DoubleLinkNode.c)
add_executable(LinkNode LineTable/LinkNode.c)
#add_executable(CircularLinkNode LineTable/CircularLinkNode.c)
add_executable(KMP_Match String/KMP_Match.c)
add_executable(BinaryTreeSearch Tree/BinaryTreeSearch.c)
add_executable(SequenceSearch Tree/SequenceSearch.c)